package com.itany.corejava.code11_io.字节流;

import com.itany.corejava.util.FileUtil;

import java.io.File;

/**
 * @author MissChen
 * @version 1.0
 * @date 2023 年11月27日 15:22
 */
public class Test05_练习 {
    public static void main(String[] args) {
        // File file1=new File("a.txt");
        // File file2=new File("b.txt");

        // File file1=new File("d:\\Users\\User\\Desktop\\aaa.txt");
        // File file2=new File("d:\\Users\\User\\Desktop\\bbb.txt");
        // FileUtil.copyFile(file1,file2);


        // FileUtil.copyFile("d:\\Users\\User\\Desktop\\aaa.txt","d:\\Users\\User\\Desktop\\ccc.txt");

        // FileUtil.copyDirectory("d:\\Users\\User\\Desktop\\aaaa","d:\\Users\\User\\Desktop\\bbbb");

        // FileUtil.seperateFile("d:\\Users\\User\\Desktop\\img\\cute.jpg",1024);

        // FileUtil.multiCopy("d:\\Users\\User\\Desktop\\a","d:\\Users\\User\\Desktop\\q");

        // FileUtil.mergeFile(new File("d:\\Users\\User\\Desktop\\img\\cute.jpg_1"));

        // FileUtil.encode(new File("mya.txt"),123456);

        FileUtil.decode(new File("mya.txt.sec"),123456);
    }
}
